package com.synjones.ui.others;

import com.synjones.entry.SignPerson;

import java.util.List;

public interface OthersContract {

    interface View{
        /**
         * 显示搜索结果
         */
        void showSearchResult(List<SignPerson> resultList);

        void showBackInfo(String msg,int color);

        void updateSignTime(SignPerson signPerson);
    }

    interface Presenter{

        /**
         * 搜索
         */
        void search(String name);

        /**
         * 签到
         */
        void sign(String oneSelf,String presenterName, String presenterIdno,
                  String invitationCode,String idno,SignPerson signPerson);

    }

}
